<html><head><title>SpinGadget3D</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SpinGadget3D()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>SpinGadget3D</b></font>(#Gadget3D, x, y, Width, Height, Minimum, Maximum)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Creates a spin gadget in the current GadgetList. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget3D</i></td>
<td width="90%"> 
A number to identify the new 3D gadget. <a href="../reference/purebasic_objects.html">#PB_Any</a> can 
be used to auto-generate this number. 

</td></tr>
<tr><td><i>x, y, Width, Height</i></td>
<td> 
The position and dimensions of the new gadget. 

</td></tr>
<tr><td><i>Minimum, Maximum</i></td>
<td> 
The minimum and maximum values that the SpinGadget can take. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Nonzero on success, zero otherwise. If <font color="#924B72">#PB_Any</font> was used as the #Gadget3D parameter 
then the return-value is the auto-generated gadget number on success. 

</blockquote><p><b>Remarks</b></p><blockquote>

To add a 'mini help' to this gadget, use <a href="gadgettooltip3d.html">GadgetToolTip3D()</a>. <br>
<br>
The following functions can be used to act on the gadget: <br>
<br>
<a href="getgadgetstate3d.html">GetGadgetState3D()</a>: Get the current gadget value. <br>
<a href="setgadgetstate3d.html">SetGadgetState3D()</a>: Change the gadget value. For displaying the new value you still must use <a href="setgadgettext3d.html">SetGadgetText3D()</a>! <br>
<a href="getgadgettext3d.html">GetGadgetText3D()</a>: Get the text contained in the gadget. <br>
<a href="setgadgettext3d.html">SetGadgetText3D()</a>: Change the text contained in the gadget. <br>
<a href="getgadgetattribute3d.html">GetGadgetAttribute3D()</a>: With one of the following attributes: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Spin3D_Minimum</font>   : Returns the minimum value.
  <font color="#924B72">#PB_Spin3D_Maximum</font>   : Returns the maximum value.
</font></pre>

<a href="setgadgetattribute3d.html">SetGadgetAttribute3D()</a>: With one of the following attributes: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Spin3D_Minimum</font>   : Changes the minimum value.
  <font color="#924B72">#PB_Spin3D_Maximum</font>   : Changes the maximum value.
</font></pre>

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=setgadgettext3d.html>SetGadgetText3D()</a> - <a href=index.html>Gadget3D Index</a> - <a href=stringgadget3d.html>StringGadget3D()</a> ->

</body></html>